#LINK_DIRECTORIES(
#    ${LIBEVENT_ROOT}/lib
#    ${PROJECT_SOURCE_DIR}/lib
#)
PROJECT(t-plugin C)

LIST(APPEND MAIN_SRCS main.c)
LIST(APPEND PLUGIN_ECHO_SRCS plugin-echo.c)

ADD_LIBRARY(plugin-echo SHARED ${PLUGIN_ECHO_SRCS})

ADD_EXECUTABLE(t-plugin ${MAIN_SRCS})
TARGET_LINK_LIBRARIES(t-plugin dl)
